package Comunication;

public class Message {
	int operation;
	String address;
	String from;
	String to;
	boolean flags[];

	public Message(String from, String to, int operation, String address,
			int nProcessors) {
		this.operation = operation;
		this.address = address;
		this.from = from;
		this.to = to;
		flags = new boolean[nProcessors];
		for (int i = 0; i<nProcessors; i++){
			flags[i] = false;
		}
	}
	
	/*
	 * 	instruction	value
	 * 	PrWr		1
	 * 	PrRd		2
	 * 	BusRd		3
	 * 	BusRdX		4
	 * 	BusUpgr		5
	 * 	Flush		6
	 */
}
